package com.baba.vote.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @auther moxinHuoHuo
 * @createDate 2019/9/10 17:45
 */
@Component
@Data
public class AliOssConfig {

  @Value("${ali.access-key}")
  private String accessKey;

  @Value("${ali.secret-key}")
  private String secretKey;

  @Value("${ali.endpoint}")
  private String endpoint;

  @Value("${ali.bucket}")
  private String bucket;

  @Value("${ali.oss-prefix}")
  private String ossPrefix;
}
